package factory;

import com.util.mail.MailSenderInfo;
import com.util.mail.SimpleMailSender;

import njupt.dao.GoodsDAO;
import njupt.dao.OrderDAO;
import njupt.dao.PingJiaDAO;
import njupt.dao.UserDAO;
import njupt.proxy.GoodsDAOProxy;
import njupt.proxy.OrderDAOProxy;
import njupt.proxy.PingJiaDAOProxy;
import njupt.proxy.UserDAOProxy;

public class DAOFactory {
public static UserDAO getUserDAOinstance(){
	return new UserDAOProxy();
}
public static GoodsDAO getGoodsDAOinstance(){
	return new GoodsDAOProxy();
}
public static OrderDAO getOrderDAOinstance(){
	return new OrderDAOProxy();
}
public static PingJiaDAO getPingJiaDAOinstance(){
	return new PingJiaDAOProxy();
}
}
